// 申报课题时需要的参数
export interface CreateSubjectForm {
    title: string; // 课题名称
    chairman: number; // 课题组长的ID
    remark: string; // 课题简介
    mamberIds: string[]; // 课题组成员的ID数组
    tagIds: string[]; // 课题标签的ID数组
}
// 提交任务进度时需要的参数
export type schedule = 1 | 2 | 3 | 4;
export interface UploadWorkForm {
    subject_id: number;
    staticIds: number[];
    schedule: schedule;
    context: string;
}

// 任务进度的详情信息
export interface ScheduleInfo {
    context: string;
    resource: Resource[];
}

export enum scheduleCode {
    a = 1,
    b = 2,
    c = 3,
    d = 4,
}

export enum scheduleName {
    a = "提交开题报告",
    b = "提交任务书",
    c = "提交中期检查",
    d = "提交结题",
}
export type scheduleType = keyof typeof scheduleCode;
export type scheduleNameType = keyof typeof scheduleName;
